﻿@model Backend.JYD.Model.Task.IntentEntryInfo
@using Backend.JYD.Model.Task
@using Backend.JYD.Model.Cust
@using Backend.JYD.Web.Common
@using Backend.JYD.Business
@{
    ViewBag.Title = "客户意向详情";
    Layout = "~/Views/Shared/_LayoutWin.cshtml";
}

<form>
    <div class="ui_pop_body" style="width: 550px; height: 540px;">
        <div  style="width:500px;height:auto;">
            <fieldset>
                <legend>客户信息</legend>
                <ul class="edit-ul">
                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.CustNo) : </span>
                        <span class="s02">@Html.DisplayFor(model => model.CustNo)</span>
                    </li>
                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.CustName) : </span>
                        <span class="s02">@Html.DisplayFor(model => model.CustName)</span>
                    </li>
                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.PaperType) : </span>
                        <span class="s02"><label>@(Model == null ? string.Empty : CodeManager.GetCodeNameByTypeCode(CodeManager.PaperType, Model.PaperType))</label></span>
                    </li>
                     <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.PaperNo) : </span>
                        <span class="s02">@Html.DisplayFor(model => model.PaperNo)</span>
                    </li>
                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.Phone)   : </span>
                        <span class="s02">@Html.DisplayFor(model => model.Phone)</span>
                    </li>
                     <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.ChanelType) : </span>
                        <span class="s02">@(Model == null ? string.Empty : CodeManager.GetCodeNameByTypeCode(CodeManager.CustChanelType, Model.ChanelType.ToString()))</span>
                </ul>
            </fieldset>

            <fieldset>
                <legend>融资意向信息</legend>
                <ul class="edit-ul">
                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.LoanMoney) : </span>
                        <span class="s02">@Html.DisplayFor(model => model.LoanMoney)</span>
                    </li>
                   <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.Term) : </span>
                        <span class="s02">@Html.DisplayFor(model => model.Term)</span>
                    </li>
                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.Rate) : </span>
                        <span class="s02">@Html.DisplayFor(model => model.Rate)</span>
                    </li>
                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.Purpose) : </span>
                        <span class="s02">@Html.DisplayFor(model => model.Purpose)</span>
                    </li>

                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.Guarantee) : </span>
                        <span class="s02">@(Model == null ? string.Empty : CodeManager.GetCodeNameByTypeCode(CodeManager.YesOrNo, Model.Guarantee.HasValue && Model.Guarantee.Value ? "1" : "0"))</span>
                    </li>
                    <li class="li01">
                        <span class="s01">@Html.LabelFor(model => model.RepaymentType) : </span>
                        <span class="s02">@(Model == null ? string.Empty : CodeManager.GetCodeNameByTypeCode(CodeManager.RepaymentType, Model.RepaymentType.ToString()))</span>
                    </li>
                   <li class="li02">
                        <span class="s01">@Html.LabelFor(model => model.Remark) : </span>
                        <span class="s02">@Html.DisplayTextFor(model => model.Remark)</span>
                    </li>
                </ul>
            </fieldset>            
        </div>
    </div>
</form>

